# -------------------------------------------------
# Project created by QtCreator 2009-08-04T19:04:07
# -------------------------------------------------
QT += opengl \
    sql \
    script \
    testlib
TARGET = SeedGerminationDetection
TEMPLATE = app
win32 {
    HEADERS += .\header\mainwindow.h \
        .\header\imageloader.h \
        .\header\projectopener.h \
        .\header\countingtab.h \
        .\header\analysistab.h \
        .\header\detectiontab.h \
        .\header\informationcontrol.h \
        .\header\imageprocessor.h \
        .\header\seedcounter.h \
        .\header\projectcreator.h \
        .\header\imagesort.h \
        .\header\germtab.h \
        .\header\coccurance.h \
        .\header\wavelet.h \
        .\header\dataReader.h \
        .\header\dataEntry.h \
        .\header\neuralNetworkTrainer.h \
        .\header\neuralNetwork.h \
        .\header\germtools.h \
        .\header\imgproctab.h \
        .\header\initmeasurement.h \
        .\header\trainingcontrol.h \
        .\header\imgacquisitiontab.h \
        .\header\mytype.h \
        .\misc\dirent.h
    SOURCES += .\src\main.cpp \
        .\src\mainwindow.cpp \
        .\src\imageloader.cpp \
        .\src\projectopener.cpp \
        .\src\countingtab.cpp \
        .\src\analysistab.cpp \
        .\src\detectiontab.cpp \
        .\src\informationcontrol.cpp \
        .\src\imageprocessor.cpp \
        .\src\seedcounter.cpp \
        .\src\projectcreator.cpp \
        .\src\imagesort.cpp \
        .\src\germtab.cpp \
        .\src\coccurance.cpp \
        .\src\wavelet.cpp \
        .\src\dataReader.cpp \
        .\src\neuralNetworkTrainer.cpp \
        .\src\neuralNetwork.cpp \
        .\src\germtools.cpp \
        .\src\imgproctab.cpp \
        .\src\initmeasurement.cpp \
        .\src\trainingcontrol.cpp \
        .\src\imgacquisitiontab.cpp
    FORMS += .\ui\analysistab.ui \
        .\ui\countingtab.ui \
        .\ui\detectiontab.ui \
        .\ui\germtab.ui \
        .\ui\imageloader.ui \
        .\ui\imgacquisitiontab.ui \
        .\ui\imgproctab.ui \
        .\ui\informationcontrol.ui \
        .\ui\mainwindow.ui \
        .\ui\trainingcontrol.ui

    LIBS +=C:\OpenCV2.2\lib\opencv_core220d.lib \
        C:\OpenCV2.2\lib\opencv_highgui220d.lib \
        C:\OpenCV2.2\lib\opencv_video220d.lib \
        C:\OpenCV2.2\lib\opencv_ml220d.lib \
        C:\OpenCV2.2\lib\opencv_legacy220d.lib \
        C:\OpenCV2.2\lib\opencv_imgproc220d.lib
    LIBS += .\lib\cvblobslib.lib


    INCLUDEPATH += C:\OpenCV2.2\include \
        C:\OpenCV2.2\include\opencv \
        .\cvblobslib \
        .\header \
        .\misc
}
unix{
    HEADERS += ./header/mainwindow.h \
        ./header/imageloader.h \
        ./header/projectopener.h \
        ./header/countingtab.h \
        ./header/analysistab.h \
        ./header/detectiontab.h \
        ./header/informationcontrol.h \
        ./header/imageprocessor.h \
        ./header/seedcounter.h \
        ./header/projectcreator.h \
        ./header/imagesort.h \
        ./header/germtab.h \
        ./header/coccurance.h \
        ./header/wavelet.h \
        ./header/dataReader.h \
        ./header/dataEntry.h \
        ./header/neuralNetworkTrainer.h \
        ./header/neuralNetwork.h \
        ./header/germtools.h \
        ./header/imgproctab.h \
        ./header/initmeasurement.h \
        ./header/trainingcontrol.h \
        ./header/imgacquisitiontab.h \
        ./header/mytype.h
    SOURCES += ./src/main.cpp \
        ./src/mainwindow.cpp \
        ./src/imageloader.cpp \
        ./src/projectopener.cpp \
        ./src/countingtab.cpp \
        ./src/analysistab.cpp \
        ./src/detectiontab.cpp \
        ./src/informationcontrol.cpp \
        ./src/imageprocessor.cpp \
        ./src/seedcounter.cpp \
        ./src/projectcreator.cpp \
        ./src/imagesort.cpp \
        ./src/germtab.cpp \
        ./src/coccurance.cpp \
        ./src/wavelet.cpp \
        ./src/dataReader.cpp \
        ./src/neuralNetworkTrainer.cpp \
        ./src/neuralNetwork.cpp \
        ./src/germtools.cpp \
        ./src/imgproctab.cpp \
        ./src/initmeasurement.cpp \
        ./src/trainingcontrol.cpp \
        ./src/imgacquisitiontab.cpp
    FORMS += ./ui/analysistab.ui \
        ./ui/countingtab.ui \
        ./ui/detectiontab.ui \
        ./ui/germtab.ui \
        ./ui/imageloader.ui \
        ./ui/imgacquisitiontab.ui \
        ./ui/imgproctab.ui \
        ./ui/informationcontrol.ui \
        ./ui/mainwindow.ui \
        ./ui/trainingcontrol.ui

    INCLUDEPATH += /usr/local/include/opencv \
            /usr/local/include/cvblobs \
            ./header \
            ./misc

    LIBS += `pkg-config opencv --cflags --libs`
    LIBS += -lblob
}

CONFIG += x86 x86_64 ppc ppc64 \
        qt thread build_and_release

